package main

type database struct {
	employees         []Employee
	nextEmloyeeNumber int
}

func (d *database) addEmloyee(firstName string, lastName string) *Employee {
	var newEmloyee Employee = Employee{firstName: firstName,
		lastName:       lastName,
		salary:         1000,
		employeeNumber: d.nextEmloyeeNumber,
		hired:          false,
	}
	newEmloyee.display()
	d.employees = append(d.employees, newEmloyee)
	return &newEmloyee
}

func (d *database) getEmployeebyName(firstName string, lastName string) *Employee {
	return nil
}
